import { Module } from '@nestjs/common';
import { ThemeService } from './theme.service';
import { ThemeController } from './theme.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Theme } from './entities/theme.entity';
import { Background } from './entities/theme-back.entity';
import { Custom } from './entities/theme-custom.entity';
import { Bar } from './entities/theme-bar.entity';
import { Button } from './entities/theme-butt.entity';
import { AuthModule } from '../auth/auth.module';
import { Config } from './entities/theme-config.entity';

@Module({
  imports: [
    TypeOrmModule.forFeature([Theme, Background, Custom, Bar, Button, Config]),
    AuthModule,
  ],
  controllers: [ThemeController],
  providers: [ThemeService],
})
export class ThemeModule {}
